<?php
class PageModel extends MongoModel {
	var $table = 'page';
    var $name = '页面配置';
	
	public static function get_page_types(){
		return array(
			'site_index' 		=> array('name'=>'网站首页',		'url' =>	'/index.php?app=site'),
			'article_index' 	=> array('name'=>'资讯首页',		'url' =>	'/index.php?app=article_cate&id=', 	'cate'		=> 'article', 	'acl'=>''),
			'article_list' 		=> array('name'=>'资讯列表页',	'url' =>	'/index.php?app=article_cate&id=', 	'cate'		=> 'article', 	'acl'=>''),
			'article_detail' 	=> array('name'=>'资讯内容页',	'url' =>	'/index.php?app=article&id=', 		'related'	=> 'article', 	'acl'=>''),
			'goods_index' 		=> array('name'=>'商品首页',		'url' =>	'/index.php?app=goods_cate&id=', 	'cate'		=> 'goods', 	'acl'=>''),
			'goods_list' 		=> array('name'=>'商品列表页',	'url' =>	'/index.php?app=goods_cate&id=', 	'cate'		=> 'goods', 	'acl'=>''),
			'goods_detail' 		=> array('name'=>'商品详细页',	'url' =>	'/index.php?app=goods&id=', 		'related'	=> 'goods', 	'acl'=>''),
			'single_page' 		=> array('name'=>'单一页面',		'url' =>	'/index.php'),
		);
	}
}

?>